//
//  UICollectionReusableView+WSExtension.h
//  Component
//
//  Created by 王诗文 on 2018/8/1.
//  Copyright © 2018年 王诗文. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WSCollectionCellProtocol.h"

@protocol WSCollectionReusableViewActionDelegate<NSObject>

-(void)headerClickedInSection:(NSInteger)section data:(id)data;

-(void)footerClickedInSection:(NSInteger)section data:(id)data;

@end

@interface UICollectionReusableView (WSExtension)<WSCollectionCellProtocol>

@property(nonatomic, weak) id<WSCollectionReusableViewActionDelegate>wsDelegate;

@property(nonatomic, assign) NSInteger section;


- (void)headerClicked:(id)data;
- (void)footerClicked:(id)data;

@end
